update with errors