def update(name, params)
      @config.transaction do
        integration = find_integration!(name)
        check_available_except!(params[:name], params[:endpoint], integration)
        update_channels!(integration, params)
        NetworkManager.new(@config).check_channels!(integration)
        integration.update!(params)
        integration_feedback(integration, :updated) unless params[:quiet]
      end
    end
def update(name, params)
      @config.transaction do
        integration = find_integration!(name)
        check_available_except!(params[:name], params[:endpoint], integration)
        update_channels!(integration, params)
        NetworkManager.new(@config).check_channels!(integration)
        integration.update!(params)
        integration_feedback(integration, :updated) unless params[:quiet]
      end
    end
Updates an integration with the given parameters.

 @param name [String] the current name of the integration to update
 @param params [Hash] the parameters to update the integration with