model_sql renewed