update the shell script