Try getting the latest ruu for your model from HTC website or search for it on XDA and flash it through stock recovery by placing it in a SD card. Select boot to recovery mode from the menu and select update from SD card and choose the ruu to flash. Hope it helped.