updated bulk insert