change the preferences