adapt plugin to new version scheme