Problem with Number of Shards (8 to 5)

I did try updating the elasticsearch.yml file with 8 (for the number of shards) and tried restarting everything. But it doesn't give me back my 8 shards. It just shows 5.