Commit insert queries