Anyone using Terzepatide and Emgality for Migraines?

I have been using Terzepatide 2.5 mg for maintenance and the weight was stable for months. I started Emgality two month ago, my third dose will be in two days. I have gained since then 4 pounds. Anyone that has gone through that and have a suggestion. I am going back to 5 mg since I had been having food noise again and snacking in the evenings. I wonder if that will be enough to stop the weight gain or if I shouldn’t take the next dose of Emgality. So far in two month I am still getting plenty of migraines a month. I will appreciate any advice I can get.