Function updateActivationEvents