     
     public function testUpdate():void {
       r.addEventListener("result", asyncHandler(verifyUpdateComplete, 1500));
-      r.update({post: {subject: "testFindAll #2 updated", body: "testFindAll #2 body updated"}}, 2);
+      r.update(2, {post: {subject: "testFindAll #2 updated", body: "testFindAll #2 body updated"}});
     }
 
     private function verifyUpdateComplete(e:ResultEvent, data:Object):void {
       rCheck.addEventListener("result", asyncHandler(function (e:ResultEvent, data:Object):void {
-            var p:Record = new Record;
-            p.setAttributes(e.result);
+            var p:Record = new Record(e.result);
 
             assertEquals('testFindAll #2 updated', p.subject);
             assertEquals('testFindAll #2 body updated', p.body);

    }
    
    private function verifyDestroy(e:ResultEvent, data:Object):void {
      var p:Record = new Record;
      p.setAttributes(e.result);
        
      assertEquals(2, p.id);
      

    
    private function verifyCreateComplete(e:ResultEvent, data:Object):void {
      rCheck.addEventListener("result", asyncHandler(function (e:ResultEvent, data:Object):void {
        var p:Record = new Record(e.result);
        
        assertEquals('creating new post', p.subject);
        assertEquals('creating new post with body', p.body);
