you seem to have 2 issues, one related to thyroid
medicine and other related to diabetes. Both may not be related in your case. If your thyroid is normal with treatment, then you should continue the thyroxine
as it is very important both for the baby and mother. Your increase sugar level suggests you have gestational diabetes
and strict diet and some times insulin
may be required.