update page and styles