add relationships to models