Default [HELP] htc one developer edition error 140

Hello guys,

My wife tried to do the OTA update, but the phone had custom rom and the phone is now bricked.
It is relocked and s-off

I downloaded RUU_M7_UL_JB_50_BrightstarUS_WWE_1.29.1540.16.exe (Developer Edition)
and RUU_M7_UL_JB_50_BrightstarUS_WWE_1.29.1540.3.exe (Developer Edition)

However, none of them worked. It gives me error 140: bootloader version error. I know it has something about downgrading, but im not sure what to do.

its been 5 hours since Im trying to unbrick it, but unsuccessful so far.
I will greatly appreciate any solution.
here are some info of the phone.
version-bootloader: 1.55
version-baseband: 4A.20.3263.16
version-main: 3.22.1540.1
platform: HBOOT-8064
modelid: PN0712000
cidnum: BS_US001

thank you.