updates the map system