added updateState event to the editor
dirty css hack for testing!
changed listener from change:\\ to stateUpdate