Code refactoring

* replaced outdated send_to_participants with in-place alternatives