changes in badges.php