Add key renaming to branch replication