Clean insert, update, delete arrays

Clean the insert, update, and delete arrays.