Update environment config