Update shape.class.php