Commit insert database