add frame in kpi