update hessian