Use db_merge()