main layout updated