Make MockConnection work like real connection (update from generated id, not IRI string)