update_preferences