update config and doc_log in db.sql