Added refactored to set insert to write concern 1