Update MaterialsViewModel.cs