code: def update(self, authorize_redirect_url=values.unset, company_name=values.unset,
                 deauthorize_callback_method=values.unset,
                 deauthorize_callback_url=values.unset, description=values.unset,
                 friendly_name=values.unset, homepage_url=values.unset,
                 permissions=values.unset):
          
          data = values.of({
              'AuthorizeRedirectUrl': authorize_redirect_url,
              'CompanyName': company_name,
              'DeauthorizeCallbackMethod': deauthorize_callback_method,
              'DeauthorizeCallbackUrl': deauthorize_callback_url,
              'Description': description,
              'FriendlyName': friendly_name,
              'HomepageUrl': homepage_url,
              'Permissions': serialize.map(permissions, lambda e: e),
          })
  
          payload = self._version.update(
              'POST',
              self._uri,
              data=data,
          )
  
          return ConnectAppInstance(
              self._version,
              payload,
              account_sid=self._solution['account_sid'],
              sid=self._solution['sid'],
          )
docs: Update the ConnectAppInstance
  
          :param unicode authorize_redirect_url: The URL to redirect the user to after authorization
          :param unicode company_name: The company name to set for the Connect App
          :param unicode deauthorize_callback_method: The HTTP method to use when calling deauthorize_callback_url
          :param unicode deauthorize_callback_url: The URL to call to de-authorize the Connect App
          :param unicode description: A description of the Connect App
          :param unicode friendly_name: A string to describe the resource
          :param unicode homepage_url: A public URL where users can obtain more information
          :param ConnectAppInstance.Permission permissions: The set of permissions that your ConnectApp will request
  
          :returns: Updated ConnectAppInstance
          :rtype: twilio.rest.api.v2010.account.connect_app.ConnectAppInstance