update pwd.sh