refactored update method in GameManagerImpl so that each if option had its own function for better modularity and consistency