fix query_terms
Remove tag updating