update main content layout