edit matrix2
matrix2 update