added hooks for the delete() operation in HookedModel