CodeMirror update