Update tree_ai trigger