adding updated stack