Update error checking.