cut parent pk from modelFields
add wrapper to build patches by field names from sql row
add simple stat kpi model