Implement **bulkInsert** for optimized insertion into the db