Update replication ids