delete group functionality in place