update client side code to get statistic data for trigger (still no data return)