'Update the specs for QoS.'

def handle_update(self, json_snippet, tmpl_diff, prop_diff):

    new_specs = prop_diff.get(self.SPECS)
    old_specs = self.properties[self.SPECS]
    (add_specs, remove_specs) = self._find_diff(new_specs, old_specs)
    if (self.resource_id is not None):
        if add_specs:
            self.client().qos_specs.set_keys(self.resource_id, add_specs)
        if remove_specs:
            self.client().qos_specs.unset_keys(self.resource_id, remove_specs)
