updates for autocomplete