autopopulate db
merge