modify post index file