renaming query pages