edit index and add a post