Updating index to work with posts?