Update error handler and output style