slight change to updateMap