update added autocomplete functionality