'Updates the specified entity\'s attributes.'

def update(self, request, id, body=None, **kwargs):

    try:
        payload = body.copy()
    except AttributeError:
        msg = (_('Invalid    format:    %s') % request.body)
        raise exceptions.BadRequest(resource='body', msg=msg)
    payload['id'] = id
    self._notifier.info(request.context, (self._resource + '.update.start'), payload)
    return self._update(request, id, body, **kwargs)
