re-adjust parameters for SGD