Update autocomplete.cpp