The function
redisplay-menu-bar
updates the interface's menu bar, such that menus become enabled and disabled as appropriate.
This function has been superseded by redisplay-interface, which updates the menu bar, but also updates other state objects such as buttons, list panels and so on.