added relationships to model.rbs