Updated manageHook