updated game over logic