updated some features in matrix