finished edit functionality
working on map functionality