modify plugin_template