Updated the models
Merge pull request #1 from PWKad/patch-1

Updated the models to correct relationship bug