Working Edit and Delete Functionality for cohort