insert/update plan before removing old id
insert/update plan before removing old id

Otehrwise the delete will temporarily remove the plan causing it's publishing to become unobserved

openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js