update row.m