updating reweighting