updated groups schema so it can work