update code

Solved While problem in influence.pgls