Update hook.go