Update environment variable.