change doc_id statement