Added locking around update and delete methods on main API objects. This should remov...