Added support for typeahead's updater function