Added createRelationship and updateRelationship methods