City to renovate buildings for $18.5 million