OP adjusting CRUD framework for batch upsert