update to nominal logistic regression