edit the map code