update menu and gameover layer