Commit before insert data