upgrade layout