Added UpdateCorpusIndex