updated GameInstance class