If incorrect information was entered in your ESTA application, it cannot be modified once payment has been completed.
If the payment has not yet been made, you may edit the information entered in the application.
However, after payment is completed, no changes can be made — especially to your passport number.
Therefore, it is important to carefully review all information before submitting your application.