update user prefs