update the post index page