changing names and selectors in editor on change