- simplifying the pipelines by introducing insert_and_publish_uow function