Update managegames.php