remove before insert new plan