How to update part of a table.

How to update part of a table.

Hello guys,

I have a table with some orders that are updated each five minutes using JQuery $.Ajax, but everytime the whole table is updated with all orders while I just wanted to update the new rows.

Someone knows how can I do that? I just need a help with the logic, the code I think I can develop after.

Thanks!