update index.sh