测试更新hook