add first date and last date for events