Keyword.put/3

defmodule Keyword do
  def put(keywords, key, value)
end

Puts the given value under key. If a previous value is already stored, all entries are removed and the value is overridden.