add activate and deactivate module events