update add/edit/save in location detail view