updated the user profile to use the new db model.