adding support for remote lifecycle events