Make sure the menu is created before trying to update it.