Fix update for T_model to correctly set boolean values