They really need to be fed hornworm chow, they will eat greens in a pinch but they can't be fed long term. Once you can see a pulsing vein, they're ready to bury themselves and pupate. I use a mix of soil and coco fiber. After about a week, I dig the pupae and put them in between damp paper towels. They have to stay consistently damp or your moths will be deformed, I usually notice problems with the wings.