Update FlexPanel.cs