updated commands for patching