Update the baggingModel