Update Index.xaml.cs