'Either Adds or removes the listed profile from the SC volume.
:param scvolume: Dell SC volume object.
:param addid: Profile ID to be added to the SC volume configuration.
:param removeid: ID to be removed to the SC volume configuration.
:return: True/False on success/failure.'

def _update_volume_profiles(self, scvolume, addid=None, removeid=None):

    if scvolume:
        scvolumecfg = self._get_volume_configuration(scvolume)
        if scvolumecfg:
            profilelist = scvolumecfg.get('replayProfileList', [])
            newprofilelist = []
            if addid:
                newprofilelist = [addid]
            for profile in profilelist:
                profileid = self._get_id(profile)
                if ((profileid != removeid) and (newprofilelist.count(profileid) == 0)):
                    newprofilelist.append(profileid)
            payload = {}
            payload['ReplayProfileList'] = newprofilelist
            r = self.client.put(('StorageCenter/ScVolumeConfiguration/%s' % self._get_id(scvolumecfg)), payload, True)
            LOG.debug('_update_volume_profiles    %s    :    %s    :    %s', self._get_id(scvolume), profilelist, r)
            if self._check_result(r):
                return True
    return False
