change city searchnig logic