         @data.supervisors = contestData
         @data.teams = contestData
         @data.guests = contest
+
+
+class UpdateTeamScoreEvent extends BaseEvent
+    constructor: (teamScore) ->
+        super 'updateTeamScore'
+        teamScoreData = teamScoreSerializer teamScore
+        @data.supervisors = teamScoreData
+        @data.teams = teamScoreData
+        @data.guests = teamScoreData
 
 
 class ContestController

BaseEvent = require('../utils/events').BaseEvent

contestSerializer = require '../serializers/contest'


class UpdateContestEvent extends BaseEvent

                                        callback err
                                    else
                                        for team in teams
                                            teamScore = _.findWhere teamScores, teamId: team._id
                                            taskProgressEntries = _.where teamTaskProgress, teamId: team._id
                                            totalScore = 0
                                            lastUpdatedAt = null

