Update of the Spectra advanced example