update error trace