# Updating data at related collections

**URL:** <https://discourse.getcockpit.com/t/updating-data-at-related-collections/1719>\
**Category:** Support\
**Created:** [November 21, 2020, 10:02am UTC](https://discourse.getcockpit.com/t/updating-data-at-related-collections/1719 "2020-11-21T10:02:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![drascom](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/drascom/32/718_2.png) [@drascom](https://discourse.getcockpit.com/u/drascom)\
**Post date:** [November 21, 2020, 10:02am UTC](https://discourse.getcockpit.com/t/updating-data-at-related-collections/1719/1 "2020-11-21T10:02:34Z")

</div>

hi folks,  
how can i update other collections after update current one.  
i’m using VUE.js as client frontend and dont want to send many request to server update all other collections.  
I found web hooks section but there is no any example to follow.  
how can i do those actions like before\_insert or before\_update.is there any sample or guide to follow ?  
i was using directus before and using hook functions for it.check [here](https://docs.directus.io/extensions/hooks.html#reference)  
also what is at “cockpit\storage\collections\rules” folder and read,update etc files in it?  
can we use them to manipulate form data or they are just for view ?
