In case you change your name, you should inform your employer.
What if I need to change my name on my Social Security card?
You have to prove your legal name change. You'll need to provide any document that proves that you legally changed your name
What documents are accepted as proof of identity?