add agg and query pages for version 2.2