patching error on update