updated the map editor