                     // alert("Failed to update the hook")
                    }
                }
            })
        });
        $(document).on("click",".probe-update",function(){
            let hookid = $(this).attr("hookid");

            $.ajax('../api/hook/'+hookid,{
                method: 'put',
                data: {

                },
                statusCode: {
                    200: function(data){
                        alert("Hook updated"); 
                    },
                 