modify prefs contents