Added commit statement.

Added commit statement after inserts.