add a page to the index