update to query page