Change duration time.