                         console.log "[Upsert] err: #{err}"
                         send 500
                     else if doc
-                        send 200
+                        send success: true
                     else
                         send {"_id": res.id}, 201
         else

                    console.log "[Merge] err: #{err}"
                    send 500
                else
                    send 200


#PUT /account/upsert/:id

                                console.log "[updateKeys] err: #{err}"
                                send 500
                            else
                                send success: true
                else
                    console.log "[updateKeys] err: masterKey and slaveKey don't\
                        exist"
