rebuild autocomplete