implemented details and edit action for cities