adding ability to edit and save edited locations