Update with a getStartDate function