Update user preference.