update optimization methods