update for auto complete