Extract .update_one and #update methods
Add delete_all
Fix bug where existing records were being considered new