fixed update rule for regularized sgd