You need to show the documentation that proves your marriage. Once it is verified by the airline, they will make the changes as per your wish.