Fixed NullPointerException bug in Map.updateMap()