Improve save to handle delete as well as update only on changed and deleted items.