Update applyPatches.sh