Done the insearting and updating of search index