edit typeahead