func (c *Client) UpdateShare(groupid string, resourceid string, obj Share) (*Share, error) {
	url := umGroupSharePath(groupid, resourceid) + `?depth=` + c.client.depth + `&pretty=` + strconv.FormatBool(c.client.pretty)
	ret := &Share{}
	err := c.client.Put(url, obj, ret, http.StatusAccepted)
	return ret, err
}
func (c *Client) UpdateShare(groupid string, resourceid string, obj Share) (*Share, error) {
	url := umGroupSharePath(groupid, resourceid) + `?depth=` + c.client.depth + `&pretty=` + strconv.FormatBool(c.client.pretty)
	ret := &Share{}
	err := c.client.Put(url, obj, ret, http.StatusAccepted)
	return ret, err
}
// UpdateShare updates a share