updated rows and columns