update the time trace example.