A multi-million pound highway upgrade is aiming to boost road safety and cut journey times to St James's Hospital.