game logic updated