Update fragment.class.php