updates to hyperopt code