In MongoDBDialect#updateAssociation() we can achieve a better performance by writing all row updates to the store in a single update() call (see $each/$pushAll/$pullAll).