Figured out the update method in Backbone.sync
adding tests for Backbone.sync