                     
                     if self.delegate?.server(self, permissionForRequest: request, managedObject: resource, context: context, key: key).toRaw() < ServerPermission.EditPermission.toRaw() {
                         
-                        return (ServerStatusCode.Forbidden, nil)
+                        return ServerStatusCode.Forbidden
                     }
                 }
                 
                 // make sure the attribute to edit is not undefined
                 if attribute!.attributeType == NSAttributeType.UndefinedAttributeType {
                     
-                    return (ServerStatusCode.BadRequest, nil)
+                    return ServerStatusCode.BadRequest
                 }
                 
                 // get pre-edit value

                // validate that the pre-edit value is of the same class as the attribute it will be given
                if !resource.isValidConvertedValue(newValue!, forAttribute: key) {
                    
                    return (ServerStatusCode.BadRequest, nil)
                }
                
                // let the managed object verify that the new attribute value is a valid new value

            // not found
            
            if attribute == nil || relationship == nil {
                
                return ServerStatusCode.BadRequest
            }
            
            // attribute
            if attribute != nil {
                
                // resourceID cannot be edited by anyone
                if key == self.resourceIDAttributeName {
                    
                    return ServerStatusCode.Forbidden
                }
                
                // check for permissions
