update main layout & navigation