clean up and added delete commit data command