changed replication to async mode