Add, remove or modify a share's title.

        Input:
            * ``title`` The share title, if any (optional)

        **NOTE**: Passing ``None`` or calling this method with an empty argument list will remove the share's title.

        Output:
            * None

        Example::

            share = client.get_share("4ddfds")
            share.update(title="Example") # Set title to Example
            share.update()                # Remove title

def update(self, **kwargs):
        """
        Add, remove or modify a share's title.

        Input:
            * ``title`` The share title, if any (optional)

        **NOTE**: Passing ``None`` or calling this method with an empty argument list will remove the share's title.

        Output:
            * None

        Example::

            share = client.get_share("4ddfds")
            share.update(title="Example") # Set title to Example
            share.update()                # Remove title
        """
        if 'title' in kwargs:
            params = {"title": kwargs['title']}
        else:
            params = {"title": None}

        response = GettRequest().post("/shares/%s/update?accesstoken=%s" % (self.sharename, self.user.access_token()), params)

        if response.http_status == 200:
            self.__init__(self.user, **response.response)