added relationships to entity