updated Mixpanel API