update one line to doc_type instead of search_type