Update environment variables