Updated of id_matrix.