update func_trace - tracing functionality