Integrated a customizable reload function trgiggered on every data refresh