Update diff at wgt.R