Logistic regression updated