truncate city, change edit profile code