A coalgebraic treatment of conditional transition systems with upgrades (Logical Methods in Computer Science, 2018)