third-party app patching