update for wx model