updated the pages accordingly