Update Main Layout