Update to prefs