How to activate a codemirror mode?

hello -

i have defined an own codemirror mode “jh”, and put it into /usr/lib/python3/dist-packages/notebook/static/components/codemirror/mode.

i want to use this mode in a notebook, and tried to modify its metadata. i changed

  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },

to

  "language_info": {
   "codemirror_mode": {
    "name": "jh"
   },

but once i start the notebook, the metadata are overwritten with the standard codemirror mode.

thanks for any help -
joachim