add polymorph relations