Update work generate to take hessian value