Update badges.php