Social uprisings have impacted insurers’ ratings