udpate for map