error catching update process