update install.sh and add a refresh in index