updating max number of columns to six