Batch insert and update
Add missing import