Added a way to update/create user preferences.