Update panel layout.