patching AI