update logistic regression and changes in ada