update the read file