added ability to remove documents from the index