Updated Spectrum.php