Update grouping of variants