Update PrintMatrix