setup db_merge