updated the auto-complete facility