         task.resume()
     }
     
-    func update() {
+    public func update() {
         // update to server
         let URL = NSURL(string: ROBotManagedObject.baseURLString + updateUrl())!
         let mutableURLRequest = NSMutableURLRequest(URL: URL)

        
    }
    
    func delete() {
        // delete from server
        let URL = NSURL(string: ROBotManagedObject.baseURLString + deleteUrl())!
        let mutableURLRequest = NSMutableURLRequest(URL: URL)

import CoreData

@objc(ROBotManagedObject)
public class ROBotManagedObject : NSManagedObject {
    
    private struct DBdefaults {
        // default the primary key value to "id"
