Update cup.php