update preferences
merged