Hot patching