updated the codemirror