update UIHook