creating relate() and unrelated(). some kind of bug when creating a new member. group_ids becomes null