update to read from file
update