             self.objects[item] = object
             self.listUpdate?(update)
         }
+
+        return index
     }
     // MARK: Insert
     func appendObjects(_ newObjects: [ListObject]) {

        updateList()
    }
    
    func updateObject(_ object: ListObject) {
        let index = self.objects.index { $0.listID == object.listID }
        if let item = index {
            

        self.listUpdate?(update)
    }
    
    func removeObject(_ object: ListObject) -> Int? {
        let index = self.objects.index { $0.listID == object.listID }
        if let index = index {
            self.removeObject(at: index)
        }
        return index
    }
    
    func removeObjects(_ objects: [ListObject]) {
