update to game logic