add database
merge database