Updated TraceWriter