update cal_influence.pl