update posts loop on index.html