sync environment