Update xs_patch.sh