bugfix: gradient descent updated