update and replication