change the way of insert data