Data update
Implemented template for threshold trigger