update EventWriterSpec for stats