Updated the ErrorController