Updated the gameState to work faster and better.