updated Mat2