update for wx