Adds "commit" in insert, update and delete actions