pass `from_obj` and `to_obj` to the `relation` event