updated location-edit with prompt