update weights
added plot stats