Update lib/r.class.php