update for game engine