add database history upload
add database history upload