Treating gestational diabetes in pregnancy