add entity relation