update deprecated company-mode setting