update with error