update the stack example out