 exports.updateCompletion = (args) ->
 	done = true
 	doneCount = 0
-	Db.backend.iterate 'pluginInfo', (group) !->
-		if Db.backend.peek('pluginInfo', group.key(), 'active') isnt 'false'
-			if Db.backend.peek('pluginInfo', group.key(), 'upToDate') is 'false'
+	Db.backend.iterate 'pluginInfoCopy', (group) !->
+		if Db.backend.peek('pluginInfoCopy', group.key(), 'active') isnt 'false'
+			if Db.backend.peek('pluginInfoCopy', group.key(), 'upToDate') is 'false'
 				done = false
 			else
 				doneCount++

				Db.backend.remove('recievedData', result.groupCode, 'history', 'groupCode')
				Db.backend.set('recievedData', result.groupCode, 'players', result.players)
				Db.backend.remove('recievedData', result.groupCode, 'history', 'players')
				if Db.backend.peek('pluginInfo', result.groupCode, 'upToDate') is 'false'
					Db.backend.set 'pluginInfo', result.groupCode, 'upToDate', 'true'
					Db.backend.incr 'pluginInfo', result.groupCode, 'updateNumber'
			else
				log "[historyResult()] NO groupcode!"

					endedSetup++
				else if gameState == 1
					endedRunning++
				else if gameState == 2
					endedProper++
			# Team statistics
			game.iterate 'game', 'teams', (team) !->
