updated autofill query