Update hook call back