Added git stash call to update.sh
Added chmod call to update.sh