updated the trace event patch