update install using pip, add getRelationships func