updated status and error messages