Update bgamec.cs