def update_asset(self, name, label=""):
        """
        Update asset metadata.
        :rtype: github.GitReleaseAsset.GitReleaseAsset
        """
        assert isinstance(name, (str, unicode)), name
        assert isinstance(label, (str, unicode)), label
        post_parameters = {
            "name": name,
            "label": label
        }
        headers, data = self._requester.requestJsonAndCheck(
            "PATCH",
            self.url,
            input=post_parameters
        )
        return GitReleaseAsset(self._requester, headers, data, completed=True)