update preferences model