Update environment variables.