usermanagment.go
func (c *Client) UpdateGroup(groupid string, obj Group) (*Group, error) {
	url := umGroupPath(groupid) + `?depth=` + c.client.depth + `&pretty=` + strconv.FormatBool(c.client.pretty)
	ret := &Group{}
	err := c.client.Put(url, obj, ret, http.StatusAccepted)
	return ret, err
}
func (c *Client) UpdateGroup(groupid string, obj Group) (*Group, error) {
	url := umGroupPath(groupid) + `?depth=` + c.client.depth + `&pretty=` + strconv.FormatBool(c.client.pretty)
	ret := &Group{}
	err := c.client.Put(url, obj, ret, http.StatusAccepted)
	return ret, err
}
//UpdateGroup updates a group