Update background and style for pages