Why are we updating the data on error?