                                 query      : {accounts:{account_id:account_id, first_name:'SAGE!'}}
                                 cb         : cb
                         (x, cb) ->
-                            expect(x).toEqual({ update: { account_id:account_id, first_name:'SAGE!'}})
+                            expect(x).toEqual({ action:'update', new_val: { account_id:account_id, first_name:'SAGE!'}})
                             db.delete_account(account_id:account_id, cb:cb)
                         (x, cb) ->
-                            expect(x).toEqual({ delete: { account_id:account_id } })
+                            expect(x).toEqual({ action: 'delete', old_val: { account_id:account_id } })
                             db.user_query_cancel_changefeed(id:changefeed_id, cb:cb)
                         ], cb)
         ], (err) ->


                (x, cb) ->
                    obj2.id = db.sha1(obj2.project_id, obj2.path)
                    expect(x).toEqual({insert:obj2})

                    # now delete the first entry (not through file_use, but directly)
                    db._query

                        where : {'id = $': obj.id}
                        cb    : cb
                (x, cb) ->
                    expect(x).toEqual({action:"delete", old_val:{id:obj.id, project_id:projects[0]}})

                    # and the second
                    db._query
