parents function

Get and set parents in join_keys object