Update stack.php