PreferenceDAO updatePreference fixed