changed game.update