final fix on update-gh-pages.sh