updated the game engine