update Duration return time.Duration