           duration   : 5000
         KodingError  : 'Something went wrong while creating activity'
 
-  update: (data) ->
+  update: (data, callback) ->
     activity = @getData()
     return  @reset() unless activity
     activity.modify data, (err) =>

      return  "" unless tag
      return  "|#{prefix}:JTag:#{tag.getId()}|"

  create: (data) ->
    JStatusUpdate.create data, (err, activity) =>
      @reset()  unless err


        data.link_url   = @embedBox.url or ""
        data.link_embed = @embedBox.getDataForSubmit() or {}

        fn = @bound if activity then "update" else "create"
        fn data, (err, activity) =>
          callback? err, activity
    ]

  encodeTagSuggestions: (str, tags) ->
