row and col cartesian update