plugin/*: update to latest API