use bulk write for dbmigrator