change stack events, and provide subscriber to plugin