Update Stack.php