corrected a little bug
added range update frequency hyperparameter