add substrate for simulator
update headers and libs