Modify the map on the fly