update query on changing map search