update Routes to Posts Controller medthod Index