upgrade_spectra function

Upgrade one or more spectral objects