Updated the main layout.