Updated createGroup to create xOwnsGroup edge