updated logistic adagrad