update with two way replication