Updating environment variable