updated layout of pages