update posts index