update group entity