update bagging and add MLE