Working on updating preferences