update xs_patcher.sh