update grad_desc_test