Update rect.class.php