updated style of matrix