matrix2 update