update backtrace