CO can upgrade any flight on their metal regardless of the code it was sold under but you'd have to pay CO miles/certs for the CO segments and UA miles/certs for the UA segments. You cannot get the CO segments upgraded using the same miles/certs for both right now.