Safe environment update