sync environment groups