Added plugin refresh method