updated views/posts/index