update labs error handling