Update preferences.plist