updating replicaSet to immutableList