update certificate duration