update for errors