Use more idiomatic entry() to update-in-place hash map entry.