updating search index