update nightly.sh