         card.deck = JSON.parse(categories)?[0]
       if card.content?.length > 0
         console.log "TODO: implement update"
-#        @updateCard card
+        @updateCard card
       else
         @createCard card
           .then (result) =>
             log "card created: ", @pretty result
-            @updatePost postId, JSON.stringify result
+            @updatePost postId, JSON.stringify(entities.encode(result))
             @incrementDeck card.deck
 
   fetchPostData: (postId) =>

      .catch (error) => errorLog error
      .then (result) =>
#        console.log "IMGUR: " + @pretty result
        if result.is_album
          choice.image =
            url: result.data.images[0].mp4
            source: result.data.link

      post.choices = []
      post.post = postId
      post.question = entities.decode result.title.rendered
      content = JSON.parse(entities.decode(result.content.raw or result.content.rendered.replace(/<(?:.|\n)*?>/gm, '')))
      unless _.isEmpty(content)
        post.id = content.cardId
      for i in [1..4]
        choice = {}
        choice.gifUrl = result["gif#{i}"]
        choice.text = result["answer#{i}"]
        choice.num = i
        unless _.isEmpty(content)
          choice.id = _.find content.choices, num: i
        post.choices.push choice
      console.log JSON.stringify post
      return post
