change index and add new post