adjust duration