update the name of the weights