entities: add relations