Updating game logic