began to update gradientBasedOptimizer