added update function for direct hessian as opposed to inverse