Update AGSEditor.cs