refactor getPluginLastModifiedDate to plugin method