update environment variable