create associations in relationship model