change group pattern