update win pref