add entity attributes relationship