Bond ratings upgraded