Aligned ajax to post method
Now I can edit data to add or delete target