setEndDate should update oldEndDate as well