changes to replica set initiation