Updating the title and reordering the pages