Added support to update the source list of typeahead plugin