added functionality for checking live game or not and updating score every 5 seconds