Update codemirror