add pages to index