Handling errors with the data update.