update the time flow diagram