update categoricals