fix sendgrid update stats command