update FG.cs