Put their poop around the flower bed and that may stop them from digging around in that area
That worked for the most part with my dogs. But I'm the worst person to give advice on that subject! You should see my backyard!