logistic learning update