update index and advanced search