defensively copy queries
update index page