update counter and autocmomplete to new components