update to codemirror