# How to synchronize the yaml definition file with an existing collection

**URL:** <https://community.postman.com/t/how-to-synchronize-the-yaml-definition-file-with-an-existing-collection/31277>\
**Category:** Help Hub\
**Created:** [January 5, 2022, 5:46pm UTC](https://community.postman.com/t/how-to-synchronize-the-yaml-definition-file-with-an-existing-collection/31277 "2022-01-05T17:46:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shiniqua](https://avatars.discourse-cdn.com/v4/letter/s/ecb155/32.png) [@Shiniqua](https://community.postman.com/u/Shiniqua)\
**Post date:** [January 5, 2022, 5:46pm UTC](https://community.postman.com/t/how-to-synchronize-the-yaml-definition-file-with-an-existing-collection/31277/1 "2022-01-05T17:46:48Z")

</div>

I have to create a new collection every time I make an update to the yaml apispec definition file, because when I click the “save” yaml button, the api-\>collection treeview does not synchronize with the latest definition.

Am I doing something wrong, or is this a bug?
