typo in replication_upgrade