update for map