change group api