Update mixpanel implementation