added insertBatch method for db widget, close #137