update for changed error codes.