DMatrix update