Updated foundation code in node folder