updating error page layout