Added refresh method to the map.