From the ESTA website
Can I apply for an ESTA without having confirmed travel plans?
Yes. Specific travel plans are not mandatory at the time of application, but you will need a U.S. point of contact.
Although specific travel plans are not required, the address where you will be staying in the United States is recommended to complete the application. If multiple locations are planned, you only need to enter the first address. If a complete address is not known, you can enter the name of the hotel or location you will visit.
If you are in transit, please select 'yes' to the 'Is your travel to the U.S. occurring in transit to another country?' question in the Travel Information section.
Edited to add according to AI
If your accommodation changes after your ESTA (Electronic System for Travel Authorization) is approved, you don't need to update your ESTA. The ESTA is valid for multiple trips over a two-year period, and the address information is primarily relevant for your first night's stay or if you are in transit. You will provide your updated address information when you check in for your flight to the US.
Here's why:
ESTA is for travel authorization, not specific accommodation details:
Your ESTA is essentially permission to travel to the US under the Visa Waiver Program, not a guarantee of a specific hotel or address.
Address is collected at check-in:
When you check in for your flight to the US, you'll be asked for your first night's accommodation address, and this information is then provided to US Customs and Border Protection (CBP).
No need to update for multiple trips:
The ESTA is valid for multiple trips within its two-year validity period, and you don't need to update it each time you change your accommodation or travel to a different location within the US.
ESTA validity:
Your ESTA remains valid even if you change your accommodation, as long as your passport and other relevant information haven't changed.