Update associations.