Added ability to edit the map