add support for refs with cardinality :many