Update how the menu hook is handled.