update final layout