updating active flag also on publish
Merge branch 'master' of https://github.com/shaikezas/eventpool.git