     handleKeyPressed: (e) ->
         if e.key == "Enter"
             @handleSubmit(e)
+
+    updateResults: (e) ->
+        await callApi('updateResults/' + @props.user._id)
+        @props.handleReload()
 
     render: () ->
         cls = getClassStartingFromJuly(@props.user.graduateYear)

        @handleAchievesChange = @handleAchievesChange.bind(this)
        @handleSubmit = @handleSubmit.bind(this)
        @handleKeyPressed = @handleKeyPressed.bind(this)

    startState: (props) ->
        return

                        </div>
                    </form> }
                { @props.me?.admin && <GroupSelector user={@props.user} handleReload={@props.handleReload}/> }
                { @props.me?.admin && <Button onClick={@updateResults}>Update results</Button> }
            </blockquote>
            { @props.explain &&
                <a href={"/user/" + @props.user._id} target="_blank">Полные результаты</a> }
