Keyword.update!/3

defmodule Keyword do
  def update(keywords, key, fun)
end

Updates the key with the given function fun. If there are duplicated keys, they are all removed and only the first one is updated.

If the key does not exist, raises KeyError.