Update tracing code.