change save_every and disp_every