Legal name

K.
So I'm not with the father of my child and I got married recently (long story not going into it) my name changed therefore my baby will have my new name (my husbands name) since this is my legal name could the father change it?