adds relationship model