added autoupdating input value plus caching of original value for autocomplete