modify index to reverse the post