create relationship between entities