sync datagrid