Update EndDate custom unit