Add relations between entities