update examples for change in stack structure.