Update auto complete functions.