update foundation.php