Update hook example