[NGRINDER-582] Make the duration updated by real start and end time.