add pdf to index