Update ChatEngine.cs