update environment variables