update for plugin 0.3.x