I want to increase numHistoryShards from 4 to 64.
It is not possible for an already running cluster. The only way to change the number of shards is to create a new cluster and migrate namespaces using Self-hosted Multi-Cluster Replication | Temporal Platform Documentation