update with error message