Update ref.php