apply changes in page structure and styles