Well when it comes to the larva, you should always keep one corner moist, otherwise they dry out. The rest of the substrate should be kept dry though. Be sure not to over feed them, that can also lead to mites. The larva drag all their food underground, so it can look like they ate it all, but really there is rotten food under the substrate that mites love.