## Update an Address Element Updates the options the [Address Element](/js/element/address_element.md) was initialized with. Updates are merged into the existing configuration. **Syntax:** `element.update(...)` - `options` (object) Options for updating the Address Element. - `fields` (object) By default, the Address Element will collect all the necessary information needed for an address. In some cases, it might be necessary to collect other types of information. You can specify other types of fields to render in the form with this option. - `phone` ('always' | 'auto' | 'never') Specify `always` to enable phone number collection in the Address Element. Only collect phone numbers if you need them for the transaction. Default is `auto`. - `validation` (object) By default, the Address Element will enforce preset validation for each field. You can customize the settings by using this option. - `phone` (object) - `required` ('always' | 'auto' | 'never') Specify `always` to make phone number a required field. The [fields.phone](/js/elements_object/create_address_element.md#address_element_create-options-fields-phone) option must be set to `always` if this property is specified. Default is `auto`. ### Update an Address Element ```js var addressElement = elements.getElement('address'); addressElement.update({ validation: { phone: { required: 'never', }, }, }); ``` ```es_next const addressElement = elements.getElement('address'); addressElement.update({ validation: { phone: { required: 'never', }, }, }); ```