update codemirror, allow slugify method again