# Is it possible to update group max\_count after it has been created?

**URL:** <https://forum.heroiclabs.com/t/is-it-possible-to-update-group-max-count-after-it-has-been-created/1754>\
**Category:** Game Design\
**Tags:** server-framework, lua, groups\
**Created:** [July 2, 2021, 9:41am UTC](https://forum.heroiclabs.com/t/is-it-possible-to-update-group-max-count-after-it-has-been-created/1754 "2021-07-02T09:41:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mawiel](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/mawiel/32/477_2.png) [@Mawiel](https://forum.heroiclabs.com/u/Mawiel)\
**Post date:** [July 2, 2021, 9:41am UTC](https://forum.heroiclabs.com/t/is-it-possible-to-update-group-max-count-after-it-has-been-created/1754/1 "2021-07-02T09:41:07Z")

</div>

Hello, is it possible to update the ‘max\_count’ of a group after it has been created? Or even change the default from 100 to a higher number? I am trying to run the code below, but it says there is nothing to update. I guess the only other option would be to create the group on the server using another RPC.

```auto
local nk = require("nakama")

local function update_group_max_count(context, payload)

local json = nk.json_decode(payload)

local group_id = json.GroupId
local max_count = json.MaxCount

nk.group_update(group_id, "", "", "", "", "", nil, "", max_count)

end

nk.register_rpc(update_group_max_count, "update_group_max_count")

```

Cheers, Andreas.

---

<div class="post-metadata">

**Author:** ![novabyte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/novabyte/32/1324_2.png) [@novabyte](https://forum.heroiclabs.com/u/novabyte)\
**Post date:** [July 13, 2021, 10:05am UTC](https://forum.heroiclabs.com/t/is-it-possible-to-update-group-max-count-after-it-has-been-created/1754/2 "2021-07-13T10:05:21Z")

</div>

@Mawiel There’s no way to adjust that limit right now. Can you describe why you’d want to raise the limit to be higher and what sort of use case you have for larger groups?

---

<div class="post-metadata">

**Author:** ![TheNeSSePa](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/thenessepa/32/1294_2.png) [@TheNeSSePa](https://forum.heroiclabs.com/u/TheNeSSePa)\
**Post date:** [August 15, 2022, 2:23pm UTC](https://forum.heroiclabs.com/t/is-it-possible-to-update-group-max-count-after-it-has-been-created/1754/3 "2022-08-15T14:23:17Z")

</div>

hi  
i really need to increase the max size of group max member.  
when i am creating group i can set max member to 1000  
but when i want to update it i cant to upper than 100

---

<div class="post-metadata">

**Author:** ![yamlcoder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/yamlcoder/32/970_2.png) [@yamlcoder](https://forum.heroiclabs.com/u/yamlcoder)\
**Post date:** [August 15, 2022, 4:10pm UTC](https://forum.heroiclabs.com/t/is-it-possible-to-update-group-max-count-after-it-has-been-created/1754/4 "2022-08-15T16:10:23Z")

</div>

Could you describe what are you trying to do? Currently there is no way to update group limit.

---

<div class="post-metadata">

**Author:** ![TheNeSSePa](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/thenessepa/32/1294_2.png) [@TheNeSSePa](https://forum.heroiclabs.com/u/TheNeSSePa)\
**Post date:** [August 16, 2022, 6:49am UTC](https://forum.heroiclabs.com/t/is-it-possible-to-update-group-max-count-after-it-has-been-created/1754/5 "2022-08-16T06:49:38Z")

</div>

i want to my members could create groups with 500 members  
in your documentation u says can changed the limit  
but i cant do it in code
