purple: update purple-plugin for 3.x.x API