Instead of piping the jelly into the donut, use a paring knife to slice the doughnut part way open, then spoon some jam into the middle of the doughnut. Using a straw or a skewer might work as well to open up the hole.