updated to latest plugapi rev