update patch.sh