update autocomplete adapter to object