updates to main layout