Fix upate hooks.