Patching of applications and systems