modify the posts index