add inputs to kpi
fix new structure for common inputs, fix kpi input, and saving kpis
save process after confirm kpi config