impliment editing and deleting cohorts