update post index