Fixed: update method
Added: replace logic
Added: bulkInsert