Update pinatrace.cpp