update the error tolerance