creates update, edit js.erb files , adds <id=<%=post.id%> to modal to link update.js.erb ith jquery method html to replace the curret date in the row