updating environment value