Fix update profile preferences in db