Update the page number when new posts are made.