Adding context on realtime

I’m using realtime for the extentions.conf. everything is working properly but when trying to add the “switch” to the DB (static realtime for extensions.conf) I’m getting the following error:
pbx_load_config: ==!!== Unknown directive: switch
all other static lines from extension.conf are working fine.

any idea how can I add new context to extensions.conf without restarting the file?
in other words, how can move the following extensions.conf lines to realtime:
[my-new-context]
swtich => Realtime

Thanks
Amos