updateGroups function

Update Group Names in a Spectra or Spectra2D Object