update a trace