update xaml controls