Question HTC T328W

Hello,everyone,My wife has htc t328w,but now after I help her update several times,the phone now is very laggy,so I want to help her to back to the stock which is the build for new one.And I don't know how to unlock and unroot,So it is better give me a stock,can directly flash into the devise.Thank you if you help me