update compare trace