Problem with webhooks in Item

Dear All
how i can create webhook in item doctype by python
i want to create webhooks (on_update) in item doctype, when write in childtable
i cant read and send the data in childtable rows
plz help me