change post to put assign users to groups