update all the pages