Cog Merchant obsoletes at Optics, Carrack Merchant (the replacement) requires Astrolabe. Since Cog Merchant is an Ancient unit (Writing) and the next Sea Merchant unit (Clipper Merchant) is a Renaissance unit, it might make more sense to change the Carrack Merchant.