The name on your tax return should be the name Social Security now has on file. It's fine if the name on the W2 differs. Just update your employer for future reference.