fixes for hyperparameter updates