Update player_lib.php