sync changes in autocomplete