added functionality to edit city details