update sequence value for search_keywords and terms