Default m8 rooted need updated

I have phone htc one m8 rooted i need apdated from 4.4.3

What are the steps to do it

Thank's