fix switch import: only update pinned packages that need to