first part to adept the plugin on discourse update