Update model_impl.c