update vcmatrix on matrix change