update for wpf client