edit main layout