update codemirror and demo