changed the updateChart function to accommodate changes for two players game
changed the updateChart function to accommodate changes for two players game