Tidying update and delete of batch records