update the database
merge sql file