Text file and sample update