update the query page to work with 1.0.x