I would advise against leaving food for a week. It will rot and it will make problems not only for DUbias, but also for the pet, who will feed from those Dubias. The best thing would be to clean everything in Dubias container, give them new hiding egg cartons, and move there clean Dubias without parasites. Feed them 1 times a day in small portions, so they finish everything. If you have a large colony - try to calculate the food for them. It's better to give food at night, when they are active. In the morning remove all remaining food - keep them clean and fresh.
When I bought my Dubia colony 60 grown ups, I got them with a substrate from the shop, with tons of parasites. It's not good for the colony, so I manually moved Dubias one by one to another clean container. I make it since then each week.
It's better to give the food at 1-2 regular spots inside the container, not everywhere. Dubias learn where the food is, and go there to eat. This way you will also see how much reamined and remove it before it rots and develops bacteria. They also learn feeding hour, I give food around 9pm, so you can see them all sitting by the food spot waiting ))))))) Feed them every day, keep them clean, and the colony will grow fast.