updates the querying page