State government pledges $12 million for Midland Highway safety upgrades