wrote a script to update gh-pages