upgrade to v2 plugin