Update data and weighting