add bulk mode to insert data