adds associations in models