update autodiff headers