adding re-indexing
re-indexing api