updated to end date