```moonbit pub fn update[K, V](self : T[K, V], key: K, f : (V?) -> V) ``` Like `get_or_init`, saves one hash computation.