update patches.
small fixes to reinstall.sh and initMultiDomain.sh