add failureCB to update and destroy methods