If you can read the specified line from a file with the Get Statement, then you should be able to write something back to the specified line with the Put Statement.

Hope this can resolve your problem.