Passport number change after booking appointment

Hi I will be getting married & changing my name as well as renewing my passport. Will I be able to change the ds160 form once the appointment is booked? And will they be able to associate the new passport number & name with the new ds160 page but the old appointment?

Do this:

  1. Complete another DS-160 form with updated name and passport number

  2. Carry both old and new DS forms to your biometric appointment

  3. Request the person there to either swap the old DS with the new one, or update the information in the old one.