update to autocomplete behavior