updated the map toggle