updated delete for groups