Update 'has_many' relationships between models