Update DiagnosticsService.cs