Added function for updating menu and also views existing menu from the main page.