updateData
Called when an instance is updated.
connection.updateData(props)
Overwrites the stored instance with the new props. Then, goes through every set and adds or removes the instance if it belongs or not.