'Update the name or the description for a server.
:param server: The :class:`Server` (or its ID) to update.
:param name: Update the server\'s name.
:param description: Update the server\'s description. If it equals to
empty string(i.g. ""), the server description will be removed.'

@api_versions.wraps('2.19')
def update(self, server, name=None, description=None):

    if ((name is None) and (description is None)):
        return
    body = {'server': {}}
    if name:
        body['server']['name'] = name
    if (description == ''):
        body['server']['description'] = None
    elif description:
        body['server']['description'] = description
    return self._update(('/servers/%s' % base.getid(server)), body, 'server')
