save changes before using new plugin