Pass the startDate into the update function