def update(name, params)
      @config.transaction do
        network = find_network!(name)
        unless params[:name].nil?
          check_name_available_except!(params[:name], network)
        end
        network.update!(params)
        network_feedback(network, :updated) unless params[:quiet]
      end
    end
def update(name, params)
      @config.transaction do
        network = find_network!(name)
        unless params[:name].nil?
          check_name_available_except!(params[:name], network)
        end
        network.update!(params)
        network_feedback(network, :updated) unless params[:quiet]
      end
    end
Updates a network with the given parameters.

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