Updates to weights.