update auto-complete