         subject_id:  classification.subject_id,
         workflow_id: classification.workflow_id, 
         annotations: classification.annotations 
-      } )
-      .done =>
-        console.log "Success"
+      }, )
+      .done (response) =>
+        console.log "Success" #, response._id.$oid
+        @setTranscribeSubject(key, response._id.$oid)
         @enableMarkButton(key)
         return
       .fail =>

Classification                = require '../models/classification'

WORKFLOW_ID = '54b82b4745626f20c9020000' # marking workflow

ImageSubjectViewer_mark = React.createClass # rename to Classifier
  displayName: 'ImageSubjectViewer_mark'

      # .always ->
      #   console.log "Always"
      #   return

  setTranscribeSubject: (key, transcribe_id) ->
    marks = @state.marks
    marks[key].transcribe_id = transcribe_id
    @setState marks: marks

  disableMarkButton: (key) ->
    marks = @state.marks
