update replication handler