Change in IP address on all nodes of Sharded Cluster

I’ve 4 shards running with standalone mongods on different nodes, 1 config server running with single node replica set and 1 mongos.

I made a mistake, Without stopping cluster, I assigned new IP range to the containers and it is no more running with the new IPs.

I’ve got config server running with hack and have updated host there but none of the shard node is running. Below is the error snippet.

{“t”:{“$date”:“2018-06-22T09:16:22.681-04:00”},“s”:“I”, “c”:“-”, “id”:4939300, “ctx”:“monitoring-keys-for-HMAC”,“msg”:“Failed to refresh key cache”,“attr”:{“error”:“ClusterTimeFailsRateLimiter: New $clusterTime, 1613645836, is too far from this node’s wall clock time, 1529673382.”,“nextWakeupMillis”:200}}
{“t”:{“$date”:“2018-06-22T09:16:23.383-04:00”},“s”:“I”, “c”:“CONNPOOL”, “id”:22566, “ctx”:“ShardRegistry”,“msg”:“Ending connection due to bad connection status”,“attr”:{“hostAndPort”:“x.x.x.x:27017”,“error”:“ClusterTimeFailsRateLimiter: New $clusterTime, 1613645837, is too far from this node’s wall clock time, 1529673383.”,“numOpenConns”:0}}

I got workaround and have started cluster with maxAcceptableLogicalClockDriftSecs value greater than it is showing in the above error, But What would be the correct, standard way to update whole cluster if we need to change the IP address?