Adjust params for autocomplete function call