# Updating Existing Web Style Published to AGOL

* Add desktop version of style file to map document in ArcPro (Image below shows difference between Desktop and Web Style).

  ![](https://2080616366-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3vG5OVht6_BV2LYSXk%2Fuploads%2FvQZ6lJvZ5ANe2y1NVRhs%2Fimage.png?alt=media\&token=89f0b44d-ef47-4383-9824-67464f1f039c)
* Add new symbol to the desktop version of style file
* Right click desktop style file in project catalog and select "Share as Web Style
  * In parameters make sure name and AGOL Folder Location are the same as the currently published style file to overwrite. Other settings/Summary can be different, it will be updated in AGOL when shared
  * Verify the style is shared with the *COA Web Styles* group (**this is required for style to be accessible in AGOL web maps**)

    ![](https://2080616366-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3vG5OVht6_BV2LYSXk%2Fuploads%2Fizzst1Frm6u9Sj6PHgIB%2Fimage.png?alt=media\&token=f415cf74-56eb-4902-81b9-c3ea096841a1)
* Click "Analyze" to check for any errors. Then click "Share".
* The window below will appear to show there is already an AGOL style with that name published

  ![](https://2080616366-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3vG5OVht6_BV2LYSXk%2Fuploads%2FaKBi6cz48DGvpg3SGksi%2Fimage.png?alt=media\&token=2c002053-5f84-446f-943b-09b6cd5773ff)
* Click "Yes" and proceed to overwrite existing AGOL Style.
* Verify AGOL Style file has been updated in AGOL by opening a map or dataset and viewing the symbology properties. The style name should appear under the vector symbols category (like shown below) and once selected, you should see the new symbol added to the style.

  ![](https://2080616366-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3vG5OVht6_BV2LYSXk%2Fuploads%2F83ELrYiJ5zgClQCw3jtK%2Fimage.png?alt=media\&token=0cc059ca-f4ce-46d7-ac96-8240b307477f)

**\*Note from ESRI regarding Desktop Styles and Web Styles**

**"***When sharing a style as a web style to ArcGIS Online and ArcGIS Enterprise10.9or later, a copy of the custom style is also shared to your portal as a desktop style item. This portal item contains all the style items of the custom style, even those not included in the web style. The desktop style item serves as a system of record for the source of the web style. It can be downloaded, updated in a project, and then reshared as a web style. The desktop style item can also be used in offline workflows in ArcGIS Runtime. For example, when you take a map offline containing a web style with dictionary symbology, the desktop style item corresponding to the web style is downloaded as a .stylx file and included in the offline map."*
