add groups and delete groups added