I assume you mean that you're wondering why it returns null even if the key in the map also changed?
The reason has to do with the way hash tables work. They store key-value pairs in different lists according to the hash code of the key. When you put the key with the name "fine" in the map, it will be stored in the list that accords with the hash code 4. When you change the key's name, it's hash code changes to 8. So then when you try to get the value that belongs to that key, the hash table will look in the list that accords with the value 8, and it will find nothing.
This is why it's a bad idea to use mutable objects as keys in a hash map.
You should always use immutable objects, like Strings, Integers, enums (EnumMap!), or your own immutable types.