Write an email to someone updating that I’ve accepted the position at their company to which they referred me

Hi, 

I wanted to update you that I accepted the offer!

Thank you for being such a huge part of this, from coffee chats to interview prepping. You made all the difference in my application journey and I’m so excited to work with you.