updating stack layout again