update IMatrix