added save to map editor