udpate db to keep datetime & make mornitor to support it
update query_queue and query_used