updated columns and rows