change index for posts