codemirror3 friendlycode update