Update shares.php