commit the pages