update query method
add pagination for select city page