updated autocomplete to use web api