Added a bulk insert method using transaction