I tried to use wixdata.update to trigger the hook in the code. The hook itself works when I manually update item in the collection interface but it doesn’t trigger when I call wixdata.update with option like below
let options = {"suppressHooks": false}
wixData.update("GlobalGuides", gg,options)