adding logic for accepting licenses on upgrade