update & fix multinomial predict code path