Update substrate.h header to latest