updated weights output