Added commit() to deletion