change the parameter assignment, modify the weakupdate