update read and plot