update an error message and a comment