update Rational