start model -> group -> capacity
try nested attributes for group_users