RUBY-787 Updates to bulk insert