remove old documents from search and add new documents to search