update menu and game logic