Diaper leaking overnight

Mich

I have a six month old and she’s in size 2 diapers and I’ve tried to change them in the middle of the night (even tried to put it on backwards bc she sleeps on her stomach) but she will wake up for a couple hours I do so. When I don’t change her diaper overnight it leaks and gets all over her bed. Is there anything I can do besides changing her in the middle of night and waking her up?