Deprecated patch_object function deleted