from Plugin guidelines - Developer Documentation and updateOptions - Developer Documentation directly:
Calling this function will update/reconfigure the options of all Markdown views. It is fairly expensive, so it should not be called frequently.
but it doesn’t update/reconfigure the extensions/compartment for canvas editors and table editors. Instead the editor has to be unloaded by clicking out of the table/canvas and clicking back in.
Same goes for registerEditorExtension - Developer Documentation
its a minor (but annoying) inconvenience when developing that I more often reload obsidian fully to be sure the changes were loaded.