update for reading