update insert to batch insert