Map.update!/3

defmodule Map do
  def update(map, key, fun)
end

Updates the key in map with the given function fun.

If key is present in map with value value, fun is invoked with argument value and its result is used as the new value of key.

If key is not present in map, a KeyError exception is raised.