How can I update a webhook in a public app using Shopify PHP SDK?

how we can update the webhook ? or which libary i have to used in create public app i have used the shopify php sdk but this may cause the problem?