The plugin is yours and you are allowed to modify the code. However, if you modify the code, the app signature will broken and the plugin will become unsupportable, non upgradable per our support policy
Our support engineers are not allowed to provide and make comments on any custom code which breaks the plugin's app signature.