Update datagrid factory