Attribute required boolean checkbox working and

it’s updating but the type id keeps getting set to nil. Next commit
will change attributes to a many-to-many relationship.