update text messages for errors.