update txt to sql