plugin api changed