changing categories to groups for octopi