Update hook.sh