update Environment