returns error messages instead of printing them, comments updation