add end date to the activity