Unless you need a new Birth Certificate for some other important item to change or some other important reason, I would recommend that you concentrate on other aspects of your name and gender (did you do that too?) list of things to do. I would definitely get it changed on all important documents like Passport, US Driver's License if you still have one, credit cards, banks and other financial institutions. Getting your US identity changed on all pertinent documents, governmental and private companies, is important.
When changing your birth certificate read the laws in MA and follow their instructions. Different States can have different requirements. Michigan requires a notarized letter from the surgeon stating that I have had gender reassignment surgery. However, they do not define what are the accepted surgeries. You may also look for some MA LGBTQ+ support group, organization or whatever. Sometimes they have a lot of help in this area because the answer is specific to the State.
I just Googled this and got a lot of hits. Good luck.
"how to change name and gender on MA birth certificate"