update layout [pages]